package za.org.jcicada.cfgmngr.messages;

import za.org.jcicada.cfgmngr.SystemSetType;
import za.org.jcicada.cfgmngr.ISystemObserver.Event;
import za.org.jcicada.genss.SystemURN;
import za.org.jcicada.genss.messages.BaseMessage;

public class SystemEventInform extends BaseMessage {

	/**
	 * Class serialization version id.
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * The system URN for the event
	 */
	private SystemURN systemURN;
	
	/**
	 * The type of system type event
	 */
	private SystemSetType type;
	
	/**
	 * Registration event for the specified system
	 */
	private Event event;
	
	/**
	 * Construct message
	 * @param systemURN the system for the registration event
	 * @param type the type of system set event
	 * @param event the type of registration event
	 */
	public SystemEventInform(SystemURN systemURN, SystemSetType type, Event event) {
		this.systemURN = systemURN;
		this.type = type;
		this.event = event;
	}
	
	public SystemURN getSystemURN() {
		return systemURN;
	}
	
	public SystemSetType getSystemSetType() {
		return type;
	}
	
	public Event getEvent() {
		return event;
	}

}
